package com.github.server.exception;

import com.github.server.core.HttpRequest;

/**
 * @ClassName HttpExecption
 * @description:
 * @author: biao532
 * @create: 2024-02-01 18:19
 * @Version 1.0
 **/
public class MethodNotAllowedException extends HttpException {
    private HttpRequest request;
    public MethodNotAllowedException() {
    }

    public MethodNotAllowedException(HttpRequest request, String message) {
        this.request = request;
    }

    public HttpRequest getRequest() {
        return request;
    }
}
